<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
    
    <head>
        <title>
            <?php echo res_catname($good['cat_id']) ?> <?php echo ($good["goods_name"]); ?>
        </title>
        <meta name="author" content="m.jd.com">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no">
        <meta http-equiv="Expires" CONTENT="-1">
        <meta http-equiv="Cache-Control" CONTENT="no-cache">
        <meta http-equiv="Pragma" CONTENT="no-cache">
        <meta name="description" CONTENT="xx">
        <meta name="keywords" CONTENT="xx">

        <link rel="stylesheet" type="text/css" href="/smfs/Public/mobile/css/base2016.css" charset="gbk" />
        <link rel="stylesheet" type="text/css" href="/smfs/Public/mobile/css/itemmain_6.0.2.css" charset="UTF-8" />

    </head>
    
    <body id="body">
        <header>
            <div class="m_common_new_top">
                <!--kepler判断通用菜单xdj20170208 待定-->
                <div id="m_common_header">
                    <header class="jd-header">
                        <div class="jd-header-new-bar" id="itemProductHead">
                            <a href="javascript:history.back();" class="jd-header-icon-back"><span></span></a>
                            <ul class="jd-header-title" id="header-tabs">
                                <li class="header-tab-item J_ping">
                                    <p class="header-tab-title header-tab-selected" id="detailView">商品</p>
                                </li>
                                <li class="header-tab-item J_ping">
                                    <p class="header-tab-title">详情</p>
                                </li>
                                <li class="header-tab-item J_ping" >
                                    <p class="header-tab-title">评价</p>
                                </li>
                            </ul>
                        </div>
                    </header>
                </div>
                <!-- 新版商详头部结束 -->
            </div>
        </header>
        <button id="tempforsuite" style="display:none;">
        </button>
        <div id="mainLayout">
            <div id="mainStay" class="new-wt">
                <div class="miblebox" id="goods-img-box">
                    <!-- 头部等顶部部分占位 -->
                    <div class="hold-div-top"></div>
                    <!-- 上层页面外容器 -->
                    <div class="header-slider">
                        <div class="header-slider-con">
                            <li class="header-slider-item" id="productTabLi">
                                <div class="page-content" id="mainLayout">
                                    <!-- 焦点图片 -->
                                    <div class="scroll-imgs">
                                        <div id="slide" class="slide">
                                            <ul data-slide-ul='firstUl'>
                                                <li class="J_ping"><img src="/smfs<?php echo ($good["ori_img"]); ?>" class="J_ping"></li>
                                            </ul>
                                        </div>
                                    </div>
                                    <div class="goods-part bdr-tb price-floor">
                                        <!-- 名称 、价格start -->
                                        <div class="basic-info bdr-b borb">
                                            <!--名称-->
                                            <div class="prod-title">
                                                <a class="detailInfoClick J_ping">
                                                    <span class="title-text-wrap" style="padding-left: 33px;font-weight: bold;">
                                                        <span class="title-text"><?php echo res_catname($good['cat_id']) ?> - <?php echo ($good["goods_name"]); ?></span>
                                                    </span>
                                                    <span class="big-price" style="padding-left: 60px;font-weight: bold;color: red;">￥<?php echo ($good["shop_price"]); ?></span>
                                                </a>
                                            </div>
                                        </div>
                                        <!-- 名称 、价格end -->
                                    </div>
                                    <!-- plus优先购预约楼层 -->
                                    <div class="goods-part bdr-tb mar-t">
                                        <div class="prod-whitebar whitebar-flick bdr-b J_ping">
                                            <div class="prod-whitebar-txt" style="padding: 2px;">商品货号： <?php echo ($good["goods_id"]); ?></div>
                                            <div class="prod-whitebar-txt" style="padding: 2px;">商品分类： <?php echo res_catname($good['cat_id']) ?></div>
                                            <div class="prod-whitebar-txt" style="padding: 2px;">商品名称： <?php echo ($good["goods_name"]); ?></div>
                                            <div class="prod-whitebar-txt" style="padding: 2px;">商品库存： <?php echo ($good["goods_number"]); ?></div>
                                            <div class="prod-whitebar-txt" style="padding: 2px;">商品详情： <?php echo (mb_substr(strip_tags(htmlspecialchars_decode($good["goods_desc"])),0,20,'utf-8')); ?>...</div>
                                            <div class="prod-whitebar-txt" style="padding: 2px;">上架时间： <?php echo date('Y-m-d H:i:s',$good['add_time']) ?></div>
                                            <div class="prod-whitebar-txt" style="padding: 2px;">更新时间： <?php echo date('Y-m-d H:i:s',$good['update_time']) ?></div>
                                        </div>
                                    </div>
                                    <!-- 新版服务楼层开始 -->
                                    <div class="service-floor J_ping">
                                        <div class="service-tip-module">
                                            <i class="service-icon support-service-icon">
                                            </i>
                                            <span class="service-icon-text">
                                                店铺发货&售后
                                            </span>
                                        </div>
                                        <span class="service-floor-iconList">
                                            <div class="service-tip-module">
                                                <i class="service-icon support-service-icon">
                                                </i>
                                                <span class="service-icon-text">
                                                    货到付款
                                                </span>
                                            </div>
                                        </span>
                                        <div class="service-tip-module">
                                            <i class="service-icon support-service-icon">
                                            </i>
                                            <span class="service-icon-text">
                                                七天退货
                                            </span>
                                        </div>
                                    </div>
                                    <!-- <div class="mar-t J_ping download-action" id="download-floor" report-eventid="MProductdetail_DownLoadBanner">
                                        <img src="/smfs/Public/mobile/css/images/5.4/downloadbanner.png?v=jd20170606175302">
                                    </div> -->
                                    <!-- 下载引流楼层end -->
                                    <div class="goods-part bdr-tb mar-t">
                                        <!--评论start-->
                                        <div class="goodseval J_ping">
                                            <div class="info">
                                                <a>
                                                    <span class="part-note-msg">评价(<em id="comments"><?php echo ($count); ?></em>)</span>
                                                    <span class="good-comment-text">好评<em id="goods"></em></span>
                                                </a>
                                                <i class="icon-arrow icon-arrow-right"></i>
                                            </div>
                                        </div>
                                        <!-- 评论 -->
                                        <div class="prod-comment" id="showDetail">
                                            <!--此处新增 增加商品评论 20150422-->
                                            <div class="comment-list" id="democomm">
                                            <?php foreach ($comm as $v) { ?>
                                                <div class="comment-list-item">
                                                    <div class="comment-item-info">
                                                        <span class="comment-item-author"><?php echo ($v["nick"]); ?></span>
                                                        <span class="product-item-star">
                                                            <span class="real-star comment-stars-width5"></span>
                                                        </span>
                                                    </div>
                                                    <div class="comment-item-content down-icon">
                                                        <span class="content"><?php echo ($v["content"]); ?></span>
                                                    </div>
                                                    <div class="comment-item-date"><?php echo date('Y-m-d H:i:s',$v['commtime']) ?></div>
                                                </div>
                                            <?php } ?>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="bottom-tip-floor"><?php echo ($page); ?></div>
                                </div>
                            </li>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 底部按钮 -->
        <div class="cart-concern-btm-fixed five-column" style="background: #fff;">
            <div class="action-list" style="float: right;">
                <a class="red-color" style="float: right;">立即预定</a>
            </div>
        </div>
    </body>
</html>